package model

type Config struct {
	Server struct {
		Port string `yaml:"port"`
	}
	Pool    map[string]map[string]interface{} `yaml:"pool"`
	Redis   map[string]map[string]interface{} `yaml:"redis"`
	ShowSql bool                              `yaml:"showsql"`
	Users   map[string]string                 `yaml:"users"`
}

type SysReports struct {
	Id         string   `json:"id" xorm:"pk"`
	Name       string   `json:"name"`
	Params     string   `json:"params"`
	GroupTitle []string `json:"groupTitle"`
	ColsTitle  []string `json:"colsTitle"`
	ColsEnName []string `json:"colsEnName"`
	FuncType   []string `json:"funcType"`
	ExecSql    string   `json:"execSql"`
	SqlWhere   []string `json:"sqlWhere"`
	Type       string   `json:"type"`
	EnCode     string   `json:"enCode"`
}